﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KetNoi;
using ThucThe;
using System.Data;
namespace DieuKhien
{
    public class Tour_dieukhien
    {
        Tour_ketnoi kn = new Tour_ketnoi();
        public DataTable danhSachTour()
        {
            return kn.danhSachTour();
        }
        public DataTable danhSachTouronly()
        {
            return kn.danhSachTourOnly();
        }
        public DataTable timTour(Tour_thucthe tour)
        {
            return kn.timTour(tour);
        }
        public int themTour(Tour_thucthe tour, ChiTiet_Tour_DiaDanh tour_dd, ChiTiet_Tour_KhachSan tour_ks, ChiTiet_Tour_NhaHang tour_nh, ChiTiet_Tour_VanTai tour_vt)
        {
            return kn.ThemTour(tour, tour_dd, tour_ks, tour_nh, tour_vt);
        }
        public int suaTour(Tour_thucthe tour, ChiTiet_Tour_DiaDanh tour_dd, ChiTiet_Tour_KhachSan tour_ks, ChiTiet_Tour_NhaHang tour_nh, ChiTiet_Tour_VanTai tour_vt)
        {
            return kn.SuaTour(tour, tour_dd, tour_ks, tour_nh, tour_vt);
        }
        public int xoaTour(Tour_thucthe tour)
        {
            return kn.XoaTour(tour);
        }
    }
}
